package com.song.pj.goods.service;

import com.song.pj.goods.dao.GoodsDao;
import com.song.pj.goods.pojo.Goods;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class GoodsServiceImpl implements GoodsService{
    @Autowired
    private GoodsDao goodsDao;
    @Override
    public List<Goods> findGoods() {
        List<Goods> g = goodsDao.findGoods();
        return g;
    }
}
